<template>
  <div id="app">
    <div>
      <router-link to="/hello">hello</router-link>
      <router-link to="/404" style="margin-left: 40px">404</router-link>
    </div>
    <router-view></router-view>
    <!-- <hello-world msg="Welcome to Your Vue.js App"/>
    <not-found msg="404Page"/> -->
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'
import NotFound from './components/404.vue'

export default {
  name: 'App',
  components: {
    HelloWorld,
    NotFound
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
